14.2.10 REST Request Added notification
The REST Request Added event sends a notification to a REST web service when an Issue Card request is created in MyID.
This notification is triggered when the Issue Card request reaches a status of Awaiting Issue.
If you configure an external system with the name REST Request Added and specify the corresponding mapping file RESTRequestAdded.xml, you can configure MyID to respond to the event with the following.
14.2.10.1 Endpoint
POST /requests/{Requests.ObjectID}/requestAdded
14.2.10.2 Data
Copy
{
"request": {
"target": {
"id": "<object ID of the target of the request>",
"name": "<target name>",
"logonName": "<target logon name>"
},
"task": {
"desc": "IssueCard"
},
"id": "<object ID of the request>",
"initiationDate": "<date the request was created>",
"status": "<request status>",
"credProfile": {
"id": "<object ID of the credential profile>",
"name": "<credential profile name>"
}
}
}
14.2.10.3 Expected response
A 200 OK response in the event of success.